package com.atlige.gzmall.order.feign;

import com.atlige.gzmall.order.vo.MemberAddressVo;
import com.atlige.gzmall.order.vo.OrderConfirmVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author: Jeremy lI
 * @description:
 * @date: created in 2021/7/4 17:05
 */
@FeignClient("gzmall-member")
public interface MemberFeignService {

    @GetMapping("/member/memberreceiveaddress/{memberId}/addresses")
    List<MemberAddressVo> getAddress(@PathVariable("memberId") Long memberId);

}
